﻿using System;
using System.Collections.Generic;
using System.Text;
using Sys = Cosmos.System;

namespace Gynx.examples
{
    class FATEX
    {
      //  Console.ForegroundColor = ConsoleColor.White;
          //  Console.Write("Basic demo of filesystem");
         //   Console.WriteLine("BlockDevices found: " + BlockDevice.Devices.Count);

          //  AtaPio xATA = null;

           // for (int i = 0; i < BlockDevice.Devices.Count; i++){
             //   Console.ForegroundColor = ConsoleColor.DarkMagenta;
             //   var xDevice = BlockDevice.Devices[i];
            //    if (xDevice is AtaPio)
            //    {
             //       xATA = (AtaPio)xDevice;
           //         Console.WriteLine(xATA.ToString());
            //        Console.WriteLine("--------------------");
            //        Console.WriteLine("TYPE: " + (xATA.DriveType == AtaPio.SpecLevel.ATA ? "ATA" : "ATAPI"));
           //         Console.WriteLine("Serial no" + xATA.SerialNo);
           //         Console.WriteLine("ModelNo " + xATA.ModelNo);
             //       Console.WriteLine("Block size " + xATA.BlockSize);
             //       Console.WriteLine("Size: " + xATA.BlockCount * xATA.BlockSize / 1024 / 1024 + " MB");
             //   }
            //}
    }
}
